Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the get option contract endpoints #310

Merged
merged 6 commits into from
Nov 13, 2024
Merged

Conversation

nathanhack
Copy link
Contributor

@nathanhack nathanhack commented Nov 11, 2024

Fixes #309.

@nathanhack
Copy link
Contributor Author

I figure this is a good starting point for a discussion.

@gnvk gnvk changed the title add GetOptionContracts & GetOptionContract Add the get option contract endpoints Nov 11, 2024
alpaca/options.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest_test.go Outdated Show resolved Hide resolved
alpaca/rest.go Show resolved Hide resolved
Copy link
Contributor Author

@nathanhack nathanhack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be ready for another look.

alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
alpaca/rest.go Show resolved Hide resolved
alpaca/rest.go Show resolved Hide resolved
@nathanhack
Copy link
Contributor Author

Should be good for another look.

alpaca/rest_test.go Outdated Show resolved Hide resolved
alpaca/rest.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@gnvk gnvk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for your contribution @nathanhack !

@gnvk gnvk merged commit 4ca59cf into alpacahq:master Nov 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Option contracts endpoint
2 participants